﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;

namespace 杂项
{
    public partial class TestForm : Form
    {
        public TestForm()
        {
            InitializeComponent();

            string asm = "杂项";
            string cls = "杂项.TestControl";

            Assembly a = Assembly.Load(asm);
            object _instance = a.CreateInstance(cls);
            Control con = _instance as Control;
            con.Location = new Point(100, 50);
            this.Controls.Add(con);
        }
    }
}